home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
New Star Software Collection
/
NSS_Collection.iso
/
3-329 totally portable hd para
/
1.ima
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1997-06-22
|
2KB
|
126 lines
@echo off
if "%1"=="/F" goto DOS_INST
if "%1"=="/f" goto DOS_INST
call dos_ver
if errorlevel 7 goto EXIT2
:DOS_INST
cls
call banner_s
cls
echo.
echo.
echo.
echo Please Specify The Installation:
echo.
echo 1. Parallel Port CD-ROM Drive
echo 2. Parallel Port Hard Disk Drive
echo Q. Quit Installation
echo.
echo Type 1, 2 to select or Q to quit...
echo.
call sel /3
if errorlevel 3 goto EXIT1
if errorlevel 2 goto PARAHD
if errorlevel 1 goto PARACD
:PARACD
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo Installation is about to install Parallel Port CD-ROM driver...
echo.
echo.
echo Would you like to continue?
echo 1. Yes
echo Q. Quit
echo.
echo Type 1 to select or Q to quit...
echo.
call sel /2
if errorlevel 2 goto EXIT1
md c:\commuter
copy patapicd.sys c:\commuter
copy c:\config.sys c:\config.dst
type paracd.ins >> c:\config.sys
copy c:\autoexec.bat c:\autoexec.dst
copy autoexec.ins c:\
type c:\autoexec.bat >> c:\autoexec.ins
copy c:\autoexec.ins c:\autoexec.bat
del c:\autoexec.ins
call banner_e
goto EXIT
:PARAHD
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo Installation is about to install Parallel Port Hard Disk driver...
echo.
echo.
echo Would you like to continue?
echo 1. Yes
echo Q. Quit
echo.
echo Type 1 to select or Q to quit...
echo.
call sel /2
if errorlevel 2 goto EXIT1
call cdisk
goto EXIT
:EXIT2
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo This utility only install drivers for DOS system
echo If you still would like to install in a non-DOS
echo system, please use
echo.
echo INSTALL /F
echo.
echo to force the installation!
echo.
echo.
echo To install drivers in Windows 95/NT system, please
echo refer user's manual for installation procedure.
echo.
echo.
goto EXIT
:EXIT1
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo Incomplete installation!
echo Please try again.
echo.
echo.
:EXIT
echo.
echo.